﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using System.Collections.Generic;
using CommonLibrary.DataModel.Basic;
using CommonLibrary.Wf.Common;

namespace CommonLibrary.Wf.ActivityUtil
{
    public partial class BaseSequenceWorkflow : System.Workflow.Activities.SequentialWorkflowActivity
    {
        public BaseSequenceWorkflow()
        {
            InitializeComponent();
        }
        public static DependencyProperty 提交结果Property = DependencyProperty.Register(
            "提交结果", typeof(string), typeof(BaseSequenceWorkflow));

        [BrowsableAttribute(true)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        public string 提交结果
        {
            get
            {
                return (string)base.GetValue(BaseSequenceWorkflow.提交结果Property);
            }
            set
            {
                base.SetValue(BaseSequenceWorkflow.提交结果Property, value);
            }
        }


        public static DependencyProperty 创建者Property = DependencyProperty.Register(
            "创建者", typeof(string), typeof(BaseSequenceWorkflow));

        [BrowsableAttribute(true)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        public UserEntity 创建者
        {
            get
            {
                return (UserEntity)base.GetValue(BaseSequenceWorkflow.创建者Property);
            }
            set
            {
                base.SetValue(BaseSequenceWorkflow.创建者Property, value);
            }
        }


        public static DependencyProperty 流程名称Property = DependencyProperty.Register(
            "流程名称", typeof(string), typeof(BaseSequenceWorkflow));

        [BrowsableAttribute(true)]
        public string 流程名称
        {
            get
            {
                return (string)base.GetValue(BaseSequenceWorkflow.流程名称Property);
            }
            set
            {
                base.SetValue(BaseSequenceWorkflow.流程名称Property, value);
            }
        }

        /// <summary>
        /// 流程的值
        /// </summary>
        [BrowsableAttribute(true)]
        public Dictionary<string, string> insValue { set; get; }

        [BrowsableAttribute(true)]
        public ChoiceClrxx 下一步处理人 { set; get; }
    }
}
